package com.huanong.it.xwcommon.service;

import com.huanong.it.xwcommon.entity.User;

import com.huanong.it.xwcommon.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;


@FeignClient(name = "xw-user")
public interface UserService {
    @PostMapping("/user/attention")
    Result attention(
            @RequestBody String marstLoginname);

    @DeleteMapping("/user/attention")
    Result cancelAttention(
            @RequestBody String marstLoginname);
}
